Skip to content

Control.gtk4_draw: do not send paint events if the control is zero-sized#3337

Open
tmssngr wants to merge 1 commit into
eclipse-platform:masterfrom
syntevo:feature/gtk-prevent-sending-paint-for-zero-sized-controls
Open

Control.gtk4_draw: do not send paint events if the control is zero-sized#3337
tmssngr wants to merge 1 commit into
eclipse-platform:masterfrom
syntevo:feature/gtk-prevent-sending-paint-for-zero-sized-controls

Conversation

@tmssngr
Copy link
Copy Markdown
Contributor

@tmssngr tmssngr commented May 28, 2026

A control without width or height can't display anything.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 28, 2026

Test Results (linux)

   94 files  ±0     94 suites  ±0   15m 2s ⏱️ +25s
4 603 tests ±0  4 379 ✅ ±0  224 💤 ±0  0 ❌ ±0 
3 401 runs  ±0  3 326 ✅ ±0   75 💤 ±0  0 ❌ ±0 

Results for commit f18d2c7. ± Comparison against base commit ceaeabf.

♻️ This comment has been updated with latest results.

@akurtakov akurtakov force-pushed the feature/gtk-prevent-sending-paint-for-zero-sized-controls branch from ea0f0a5 to f18d2c7 Compare June 1, 2026 16:27
@akurtakov
Copy link
Copy Markdown
Member

Can you please share a snippet that reproduces it ? It should be impossible to come up with such a call unless there is "big" problem in SWT Gtk internals and this would most likely hide a problem making it harder to figure it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants